{template '../header'}

<form action="/search">
    <div>
        <input type="text" name="keywords" value="{$keywords}" required placeholder="请输入关键字">
        <button name="do" value="search"><i></i> 搜索</button>
    </div>
</form>

<div>检索</div>
<div>
    当前位置：<a href="/">首页</a> / 检索
</div>
<div>
    <div>
        {loop $rows $row}
        <div>
            <div>
                <span>•</span>
                <a href="/article/page/id/{$row['id']}">{$row['title']}</a>
            </div>
            <span>{$row['add_time']}</span>
        </div>
        {/loop}
    </div>
    {template '../page'}
</div>

{template '../footer'}